<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        @font-face {
            /*1. 这个字体名称要注意 icomoon*/
            font-family: 'icomoon';
            /*2. 一定要注意路径的问题*/
            src:  url('fonts/icomoon.eot?7kkyc2');
            src:  url('fonts/icomoon.eot?7kkyc2#iefix') format('embedded-opentype'),
            url('fonts/icomoon.ttf?7kkyc2') format('truetype'),
            url('fonts/icomoon.woff?7kkyc2') format('woff'),
            url('fonts/icomoon.svg?7kkyc2#icomoon') format('svg');
            font-weight: normal;
            font-style: normal;
        }
        div {
            position: relative;
            width: 300px;
            height: 30px;
            border: 1px solid red;
        }
        div::after{
            position: absolute;
            top: 4px;
            right: 0;
            content: '\ea52';
            font-family: 'icomoon';
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>